<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

String url = request.getScheme() + "://" + request.getServerName()
			+ request.getRequestURI();

%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>单位增加</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
   <!-- modal页固定调用 -->
		<%@ include file="/html/custom/header.jsp"%>
		<%@ include file="/html/custom/modalHeader.jsp"%>
	    <script type="text/javascript" src="<%=basePath%>/html/control/My97DatePicker/WdatePicker.js"></script>
  </head>
  <body>
    <div id="content">
    <form id="deptForm" action="/swss/dept/dept_update.action" target="_top" method="post">
       <fieldset>
       <table align="center"   cellSpacing=1 cellPadding=5 width="100%">
				<tr>
					<td></td>
				</tr>
				<tr>
					<td>
						单位编号
					</td>
					<td>
						<input type="text" name="dept.deptNo" value="<s:property value="dept.deptNo" />"  />
					</td>
					<td>
						单位名称
					</td>
					<td>
						<input type="text" name="dept.deptName" value="<s:property value="dept.deptName" />" />
					</td>
				</tr>
				<tr>
					<td > 
						单位简称
					</td>
					<td>
						
					<input type="text" name="dept.deptStName" value='<s:property value="dept.deptStName" />'></td>
					<td> 
					单位简码</td>
					<td><input type="text" name="dept.deptStCode" value='<s:property value="dept.deptStCode" />'></td>
				</tr>
				<tr>
					<td>
						建立时间
					</td>
					<td>
						<input type="text" name="dept.createDate" value='<s:property value="dept.createDate" />' onClick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy'})" />
					</td>
					<td>
						经费来源
					</td>
					<td>
					<select name="dept.fundsAcc">
					<s:iterator value="#request.fingSubList">
					 <option value="<s:property value="fieldName4"/>">
						<s:property value="txt" />
					</option>
					</s:iterator>
					</select>
					</td>
				</tr>
				<tr>

					<td>
						单位性质
					</td>
					<td>
					<select name="dept.deptNature">
					<s:iterator value="#request.deptNatureList">
					 <option value="<s:property value="fieldName4"/>">
						<s:property value="txt" />
					</option>
					</s:iterator>
					</select>
					</td>
					<td>
						使用方向
					</td>
					<td>
				    <select name="dept.useArrow">
					<s:iterator value="#request.useArrowList">
					 <option value="<s:property value="fieldName4"/>">
						<s:property value="txt" />
					</option>
					</s:iterator>
					</select>
					</td>
				</tr>
			</table>
			</fieldset>
	</form>
    </div>
    <!-- modal也固定页尾 （按钮） -->
		<div class="btnset clearfix">
			<a id="btnClose" href="#">取消</a>
			<a id="btnReset" href="#">重置</a>
			<a id="btnSave" href="<s:property value="url" />">保存</a>
		</div>
  </body>
</html>
